class CampusController < ApplicationController
  before_filter :get_university_and_usertype
  layout"campus"

  def index
   @user_types          = UserTypeCategoryMap.find(:all, :conditions=>"user_type_id=1 and relation_type=0")
  end


  private
  def get_university_and_usertype
   @university = University.find_by_stripped_name(params[:university])
   @user_type = UserType.find_by_stripped_name(params[:user_profile].gsub("-",""))
  end
end
